<?php
$this->breadcrumbs = array(
    'Street manager' => array('index'),
);
?>
<div class="box">
    <header>
        <h5>Street manager</h5>
    </header>
    <div class="body">
        <a href="<?php echo url('street/create'); ?>" class="quick-btn">
            <i class="icon-plus icon-2x"></i>
            <span>Add new Street</span>
        </a>
        
        <?php
        $this->widget('bootstrap.widgets.TbGridView', array(
            'id' => 'subscriber-grid',
            'dataProvider' => $models->search(),
            'filter' => $models,
            'columns' => array(
                array(
                    'header' => '#',
                    'name' => 'street_id', 
                    'htmlOptions' => array('width' => '50')),
                array(
                    'name' => 'name', 
                    'htmlOptions' => array('width' => '50')),
                
                array(
                    'class' => 'bootstrap.widgets.TbButtonColumn',
                    'template' => '{update}&nbsp;{delete}'
                ),
            ),
        ));
        ?>
    </div>
</div>

